Skip to content

Added git_weekly_report-v2.sh - #20

Open
dgtes wants to merge 1 commit into
intro-to-git:mainfrom
dgtes:main
Open

dgtes wants to merge 1 commit into
intro-to-git:mainfrom
dgtes:main

Conversation

@dgtes

@dgtes dgtes commented Apr 17, 2026

Copy link
Copy Markdown

No description provided.

Comment thread git_weekly_report-v2.sh
echo
authors=()
fi
done < <(git log --since="7 days ago" --pretty=format:"%an %ad" --date=format:"%j")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have not covered the syntax for redirecting from a temporary file, but this is ok. It is not a mistake to use it, but in this situation a pipe | would have been more readable.

i.e. git log .. | while read -a line; do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants